-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14.0][IMP] new module l10n_it_fatturapa_out_di #2451
[14.0][IMP] new module l10n_it_fatturapa_out_di #2451
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok funzionale .
9ed78e2
to
ef17ba8
Compare
a0cc199
to
67d9a5f
Compare
"l10n_it_fatturapa.fatturapa_RF01" | ||
).id | ||
|
||
self.env["decimal.precision"].search( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Questi valori dovrebbero avere un XML ID. Potresti usare quelli.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se non ho capito male intendi qualcosa del genere?
index be0c8e787..90b8e7848 100644
--- a/l10n_it_fatturapa_out_di/tests/test_fatturapa_xml_validation.py
+++ b/l10n_it_fatturapa_out_di/tests/test_fatturapa_xml_validation.py
@@ -32,10 +32,8 @@ class TestFatturaPAXMLValidation(FatturaPACommon):
"l10n_it_fatturapa.fatturapa_RF01"
).id
- self.env["decimal.precision"].search(
- [("name", "=", "Product Unit of Measure")]
- ).digits = 3
- self.env["uom.uom"].search([("name", "=", "Units")]).name = "Unit(s)"
+ self.env.ref("product.decimal_product_uom").digits = 3
+ self.env.ref("uom.product_uom_unit").name = "Unit(s)"
tax_form = Form(self.env["account.tax"])
tax_form.name = "10%"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esattamente. Perfetto.
d23279d
to
111b1c5
Compare
@TheMule71 ho provato a testarlo in runbot:
|
Attualmente questo modulo riporta in Nel test io aggiungo la DI direttamente alla riga, e mi appare sia come Vd. anche #2518 (comment) |
111b1c5
to
972e31e
Compare
Sto facendo anche una ricerca su come fanno altri gestionali. |
Prima in implementare anche in questo modulo la logica, vediamo come viene recepita in #2518 |
972e31e
to
1bdd92c
Compare
Ok, logica implementata, ora dovrebbe essere equivalente a ciò che fa la 12. Ping @francescapenso |
Testata e funzionante anche con due dichiarazioni intento differenti per riga fattura |
l10n_it_fatturapa_out_di/tests/test_fatturapa_xml_validation.py
Outdated
Show resolved
Hide resolved
l10n_it_fatturapa_out_di/tests/test_fatturapa_xml_validation.py
Outdated
Show resolved
Hide resolved
l10n_it_fatturapa_out_di/tests/test_fatturapa_xml_validation.py
Outdated
Show resolved
Hide resolved
l10n_it_fatturapa_out_di/tests/test_fatturapa_xml_validation.py
Outdated
Show resolved
Hide resolved
Modulo ponte tra l10n_it_declaration_of_intent e l10n_it_fatturapa_out
1bdd92c
to
fc7a4b7
Compare
@marco-marchiori ti soddisfa la risposta in #2451 (comment) ? |
This PR has the |
@marco-marchiori mergio in virtù del fatto che la nuova normativa che riguarda dichiarazioni d’intento e fattura elettronica è entrata in vigore il 1 gennaio. Nel caso avessi qualche ulteriore osservazione da fare apri pure una issue. Grazie. |
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at eebb5a2. Thanks a lot for contributing to OCA. ❤️ |
Modulo ponte tra l10n_it_declaration_of_intent e l10n_it_fatturapa_out
Il modulo aggiunge AltriDatiGestionali per le righe con lettera d'intento esplicita
Confermo di aver firmato il CLA https://odoo-community.org/page/cla e di aver letto le linee guida su https://odoo-community.org/page/contributing